package user

import (
	"server/common/models"
)

type UserAuth struct {
	models.IdBase
	Status     string `json:"status"` // 状态 wait 未填写资料 ok 已填写资料 ban 禁用
	OpenId     string `json:"open_id" gorm:"column:open_id;not null;index:idx_open_id"`
	UnionId    string `json:"union_id" gorm:"column:union_id;not null;index:idx_union_id"`
	CreateTime int64  `json:"create_time"`
	UpdateTime int64  `json:"update_time"`
}
